using System;
using System.Collections.Generic;
using System.Text;

namespace BaseForum.Model
{
    public class Forum : ObjectIdentity
    {
        private Forum _parrentForum;
        private string _title;
        private string _desc;
        private int _position = 0;
        private List<Forum> _childForums;

        public Forum()
        {
        }
        public Forum(int id)
        {
            this.Id = id;
        }

        public Forum ParrentForum
        {
            get { return _parrentForum; }
            set { _parrentForum = value; }
        }

        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        public string Desc
        {
            get { return _desc; }
            set { _desc = value; }
        }

        public int Position
        {
            get { return _position; }
            set { _position = value; }
        }

        public List<Forum> ChildForums
        {
            get { return _childForums; }
            set { _childForums = value; }
        }
    }
}
